<style>
    .proAddMore textarea{
        width: 100%;
    }
</style>
<ion-view>
    <ion-header-bar class="index_head">
        <button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
        <div class="h1 title"> 产品信息</div>
        <button class="button button-clear button-positive zhuce_head_btn" style="color: #fff;font-size: 14px;" ng-click="proAddMoreCommit()">保存</button>
    </ion-header-bar>
    <ion-content class="proAddMore has-footer">
            <div ng-repeat="item in reqData">

                <div ng-if="item.relType == 1" class="mt10 bg-fff">
                    <textarea  ng-model="item.relContent"></textarea>
                    <div ng-click="" class="text-right ">删除</div>

                </div>
                <div ng-if="item.relType == 2" class="mt10 bg-fff">
                    <div>图片</div>
                    <div  class="text-right">删除</div>
                </div>

            </div>

    </ion-content>
    <div class="row text-center  w4-xtzgDe-bottom bg-fff" style="padding: 0;height: 40px;line-height: 30px">
        <div ng-click="addTextInput()" class="col" style="background-color: #e6e6e6;color: #fe7e01;border-right: 1px solid #fff">添加文字</div>
        <div ng-click="addImgInput()" class="col" style="background-color: #e6e6e6;color: #fe7e01">添加图片</div>
    </div>
</ion-view>